import request from "@/utils/request";

//获取收获地址列表
export const getAddressList = data =>
    request({
        method: 'POST',
        url: '/frontend/consignee/list/',
        data
    })


//添加收获地址列表
export const addAddress = data =>
    request({
        method: 'POST',
        url: '/frontend/consignee/add/',
        data
    })

//编辑收获地址
export const updateAddress = data =>
    request({
        method: 'POST',
        url: '/frontend/consignee/update/',
        data
    })

//删除收获地址
export const deleteAddress = data =>
    request({
        method: 'POST',
        url: '/frontend/consignee/delete/',
        data
    })